<?php
namespace app\admin\controller;

use think\Db;
use think\Controller;

//用户评论控制器
class Comment extends Controller
{
    public function comments(){
//        return 'aaaaa';
        $list = Db::table('comment')->select();
        return view('index/comment',[
            'title' => '用户评论表',
            'list' => $list,
        ]);
    }
}